Simulation And Case Study Of Dc Microgrid